package net.zjitc.user;

import java.util.ArrayList;

/**
 * @Author admin
 * @Date 2019/3/29 10:56
 */
public class UserDaoList implements UserDao {
    ArrayList<User> list=new ArrayList<User>();
    @Override
    public void register(User user) {
   list.add(user);
        System.out.println("注册成功");

    }

    @Override
    public boolean login(String name, String password) {
        return false;
    }
}
